package com.gitee.maskit.jackson.converter;

import com.fasterxml.jackson.databind.util.StdConverter;

public class JacksonBooleanToCharacter extends StdConverter<Boolean, Character> {
    public Character convert(Boolean value) {
        return null != value && value ? (char) 1 : (char) 0;
    }
}
